package main

import (
	"encoding/hex"
	"fmt"
)

func main() {
	byteData := []byte("测试数据")
	hexStr := hex.EncodeToString(byteData)
	fmt.Println(hexStr)
}
